package experimentos.adapter;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

public class Mapping2 {
	
	private String sourceType;
	private String targetType;
	private List<String> microop;
	
	
	
	public Mapping2(String sourceType, String targetType, List<String> microop) {
		super();
		this.sourceType = sourceType;
		this.targetType = targetType;
		this.microop = microop;
	}
	public String getSourceType() {
		return sourceType;
	}
	public void setSourceType(String sourceType) {
		this.sourceType = sourceType;
	}
	public String getTargetType() {
		return targetType;
	}
	public void setTargetType(String targetType) {
		this.targetType = targetType;
	}
	public List<String> getMicroop() {
		return microop;
	}
	public void setMicroop(List<String> microop) {
		this.microop = microop;
	}
	public void addMicroop(String e){
		this.microop.add(e);
	}
	public void printMicroops(){
		for (Iterator iterator = microop.iterator(); iterator.hasNext();) {
			String microop = (String) iterator.next();
			System.out.println(microop);
		}
	}
	
	
}